﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BemEstarEmprego.Web.Helpers
{
	public class ModalCrudOptions : IModalCrudOptions, IHtmlString
	{

		private readonly ModalCrud parent;

		#region Construtor

		public ModalCrudOptions(ModalCrud parent)
		{
			this.parent = parent;
		}

		#endregion

		#region Options

		public IModalCrudOptions BtnCrud(string btnCrud = "")
		{
			return this.parent.BtnCrud(btnCrud);
		}

		public IModalCrudOptions DivCrud(string divCrud = "")
		{
			return this.parent.DivCrud(divCrud);
		}

		public IModalCrudOptions ModalTitle(String modalTitle = "")
		{
			return this.parent.ModalTitle(modalTitle);
		}

		public IModalCrudOptions ModalButtonName(string modalButtonName = "")
		{
			return this.parent.ModalButtonName(modalButtonName);
		}

		#endregion

		#region ToString

		public override string ToString()
		{
			return parent.ToString();
		}

		public string ToHtmlString()
		{
			return ToString();
		}

		#endregion

	}
}